package com.rui.study.commons.study.entity;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public abstract class Employee {

    private String employeeId;

    private String name;

    private int age;

    private Gender gender;

    public Employee(String employeeId, String name, int age, Gender gender) {
        this.employeeId = employeeId;
        this.name = name;
        this.age = age;
        this.gender = gender;
    }

    public abstract void work();
}
